<!DOCTYPE html>
<html>
<head>
	<?php $this->load->view($theme_view_folder.'metadata'); ?>
	<link type="text/css" rel="stylesheet" href="/application/assets/css/jquery-ui.css">
	<script type="text/javascript"
      src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCPNMYLhM77Ql35oT9beG3n6F76EEwAmB0&sensor=true">
    </script>
    <script type="text/javascript">
      function initialize() {
        var mapOptions = {
          center: new google.maps.LatLng(21.002733,105.868581),
          zoom: 15,
          mapTypeId: google.maps.MapTypeId.ROADMAP
        };
        var map = new google.maps.Map(document.getElementById("map_canvas"),
            mapOptions);
     	var image = '/application/themes/ztv/images/location_map.png';
		var myLatLng = new google.maps.LatLng(21.002733,105.868581);
		var beachMarker = new google.maps.Marker({
			position: myLatLng,
			map: map,
			icon: image
		});
		attachSecretMessage(beachMarker);
		function attachSecretMessage(marker, num) {
			var message = 'Công ty VTC giải trí đa phương tiện<br/>65 Lạc Trung Hà Nội<br/> Hotline: 19004751';
			var infowindow = new google.maps.InfoWindow({
			content: message
		 	});
			google.maps.event.addListener(marker, 'click', function() {
				infowindow.open(marker.get('map'), marker);
			});
			}
			google.maps.event.addDomListener(window, 'load', initialize);
      }
    </script>
</head>
<!--[if (gt IE 9)|!(IE)]><!-->
<body onload="initialize()">
<!--<![endif]-->
		<!-- begin body inside -->
		<div class="body-inside">
			<!-- begin header -->
			<!-- Begining header nav -->
			<?php $this->load->view($theme_view_folder.'page_header'); ?>
			<!-- end header nav/ end header -->
			<!-- begin main -->
			<div id="main">
				<?php echo $page_output; ?>
			</div>
			<!-- end main -->
		</div>
		<!-- end body inside -->

		<!-- begin footer -->
		<div class="clear"></div>
		<div id="footer">
			<?php $this->load->view($theme_view_folder.'page_footer'); ?>
		</div>
		<?php $this->load->view($theme_view_folder.'ga_script'); ?>
		<!-- end footer -->
	</body>
</html>

